��<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <SCRIPT> <!-- Activate Cloaking Device //******************************* ***************************** ******************************* // // Another Date & Time Display // // Developed by Timothy Wallace , timothy@essex1.com // //******************************* ****************************** ***************************** // Global variables for timer. var timerID = null; var timerRunning = false; function startclock () { // Make sure the clock is stopped stopclock(); time(); } function stopclock () { if(timerRunning) clearTimeout(timerID); timerRunning = false; } function time () { var now = new Date(); var yr = now.getYear(); var mName = now.getMonth() + 1; var dName = now.getDay() + 1; var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate(); var ampm = (now.getHours() >= 12) ? " P.M." : " A.M." var hours = now.getHours(); hours = ((hours > 12) ? hours - 12 : hours); var minutes = ((now.getMinutes() < 10) ? ":0" : ":") + now.getMinutes(); var seconds = ((now.getSeconds() < 10) ? ":0" : ":") + now.getSeconds(); if(dName==1) Day = ">A:@5A5=L5"; if(dName==2) Day = ">=545;L=8:"; if(dName==3) Day = "B>@=8:"; if(dName==4) Day = "!@540"; if(dName==5) Day = "'5B25@3"; if(dName==6) Day = "OB=8F0"; if(dName==7) Day = "!C11>B0"; if(mName==1) Month="/=20@L"; if(mName==2) Month="$52@0;L"; if(mName==3) Month="0@B"; if(mName==4) Month="?@5;L"; if(mName==5) Month="09"; if(mName==6) Month="N=L"; if(mName==7) Month="N;L"; if(mName==8) Month="23CAB"; if(mName==9) Month="!5=BO1@L"; if(mName==10) Month=":BO1@L"; if(mName==11) Month=">O1@L"; if(mName==12) Month="5:01@L"; // String to display current date. var DayOfWeek =(" " + Day + " "); // Displays the current time. document.forms[0].elements[0].value = DayOfWeek; // String to display month, day, & year. var MonthDayYear =(" " + Month + " " + dayNr + ", " + yr + " "); // Displays the month, day, & year. document.forms[0].elements[1].value = MonthDayYear; // String to display current time. var TimeValue =(" " + hours + minutes + seconds + " " + ampm); // Displays the current time. document.forms[0].elements[2].value = TimeValue; timerID = setTimeout("time()",1000); timerRunning = true; } // Deactivate Cloaking --> </SCRIPT> <meta http-equiv="Content-Type" content="text/html; charset=unicode"></head> <body bgcolor="#ddcca0" onLoad="startclock ()"> </p> </font> <FORM> <div align="left"> <TABLE BORDER=3 WIDTH=500> <TR> <TD align="center"><font color="800000" size="3"><strong>5=L =545;8</strong></font> <font size="3" color="#000000"> <TD align="center"><INPUT TYPE="text" NAME="local" SIZE=13 VALUE="5=L =54."> </TR> <TR> <TD align="center"><font color="800000" size="3"><strong>5AOF, 45=L 8 3>4</strong></font> <TD align="center"><INPUT TYPE="text" NAME="local" SIZE=18 VALUE="5AOF, 45=L 8 3>4"> </TR> <TR> <TD align="center"><font color="800000" size="3"><strong>"5:CI55 2@5<O</strong></font> <font size="3" color="#000000"> <TD align="center"><INPUT TYPE="text" NAME="local" SIZE=16 VALUE="@5<O"> </TR> </TABLE> <BR> <TABLE BORDER=0 WIDTH=400> <TR> <TD align="center"><INPUT TYPE="button" value="0C70" onClick="stopclock()"> <TD align="center"><INPUT TYPE="button" value="@>4>;68BL" onClick="startclock()"> <TD align="center"><INPUT TYPE="reset" value="1=>28BL"> </TR> </TABLE> </div> </FORM> </body> </html>